/* GUI CONVERTED from eccnv02.p (converter v1.76) Tue Dec 31 10:45:06 2002 */
/* eccnv02.p - DISABLE PCOs ON PRODUCT STRUCTURE MENU                   */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                  */
/* All rights reserved worldwide.  This is an unpublished work.         */
/* $Revision: 1.6.1.5 $                                                     */
/*V8:ConvertMode=Maintenance                                            */
/* REVISION: 7.4      LAST MODIFIED: 06/29/93   BY: pma *H013*          */
/* REVISION: 7.4      LAST MODIFIED: 03/08/95   BY: qzl *H0BW*          */
/* REVISION: 8.6      LAST MODIFIED: 12/05/96   BY: Joe Gawel   *K03M*  */
/* REVISION: 8.6      LAST MODIFIED: 12/23/96   BY: Jean Miller *K00C*  */
/* REVISION: 8.6      LAST MODIFIED: 07/02/97   BY: Joe Gawel   *K0FV*  */
/* REVISION: 8.6E     LAST MODIFIED: 02/23/98   BY: *L007* A. Rahane */
/* REVISION: 8.6E     LAST MODIFIED: 05/20/98   BY: *K1Q4* Alfred Tan   */
/* REVISION: 8.6E     LAST MODIFIED: 10/04/98   BY: *J314* Alfred Tan   */
/* REVISION: 9.1      LAST MODIFIED: 07/11/00   BY: *N0FJ* Mudit Mehta  */
/* REVISION: 9.1      LAST MODIFIED: 08/14/00   BY: *N0KW* Jacolyn Neder */
/* Old ECO marker removed, but no ECO header exists *F0PN*                    */
/* $Revision: 1.6.1.5 $    BY: Katie Hilbert        DATE: 12/27/02  ECO: *P0L8*   */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

{mfdeclre.i}
{gplabel.i}

define input parameter part like pt_part.
define input parameter part1 like pt_part.
define output parameter yn like mfc_logical.
define variable titl like ecm_title.

/* Disable PCO Maintenance in Product Structures Menu */
{pxmsg.i &MSGNUM=1858 &ERRORLEVEL=1 &MSGBUFFER=titl}

yn = no.
for each ecm_mstr where ecm_nbr <> "*000000*"
      and ecm_title = "" break by ecm_nbr:
   ecm_title = titl.
   ecm_close_date = today.

end.
yn = yes.
